table of contents
lsm_volume_child_dependency(3) | Libstoragemgmt C API Manual | lsm_volume_child_dependency(3) |
NAME¶
lsm_volume_child_dependency - Check whether volume has child dependencies.
SYNOPSIS¶
int lsm_volume_child_dependency (lsm_connect *conn, lsm_volume *volume, uint8_t *yes, lsm_flag flags);
ARGUMENTS¶
VERSION¶
1.0
DESCRIPTION¶
Returns 1 if the specified volume has child dependencies, else returns 0. Child dependencies means specified volume is acting as source volume of a replication.
CAPABILITY¶
LSM_CAP_VOLUME_CHILD_DEPENDENCY
RETURN¶
Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags or invalid volume.
* LSM_ERR_NOT_FOUND_VOLUME
When volume not found.
* LSM_ERR_NO_SUPPORT
Not supported.
lsm_volume_child_dependency | May 2019 |